package com.ponhu.ea2.service.facade;

import com.ponhu.ea2.dto.PhInventoryBaseDto;
import com.ponhu.ea2.dto.PhInventoryForGoodsCenterDto;

import java.util.Map;

/**
 * @author luyu
 * @create 2021-10-22 16:39
 * 对接胖总管,推送胖总管新生成商品信息
 */
public interface GoodsCenterForPonHuService {
    /**
     * 根据采购中心传入的信息生成货品编码
     * @param inventoryDto
     * @return
     */
    Boolean createGoodsInfoForPonHu(PhInventoryBaseDto inventoryDto);

    /**
     * 商品修改商品信息,同步胖总管
     * @param phInventoryBaseDto
     * @return
     */
    Boolean updateGoodsInfoForPonhu(PhInventoryBaseDto phInventoryBaseDto);
}
